home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-09-25 | 834 b | 31 lines |
- #CFLAGS = -g \
- -W -Waggregate-return -Wcast-align \
- -Wcast-qual -Wcomment -Wformat \
- -Winline -Wparentheses -Wpointer-arith \
- -Wreturn-type -Wshadow -Wswitch \
- -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings \
- -ansi -pedantic
- #-Wconversion -ansi
-
- CFLAGS = -O6 -fno-force-mem -fno-force-addr -fomit-frame-pointer \
- -finline-functions -fcaller-saves -fstrength-reduce -fthread-jumps \
- -funroll-loops -frerun-cse-after-loop -fexpensive-optimizations \
- -fdelayed-branch -fschedule-insns -fschedule-insns2 -fthread-jumps \
- -mcpu=r3000
-
- # Add -mcpu=??? option above if available on your machine
- # Add -DUSE_INTS above if floats are slower than ints on your machine
-
- LIBS = -lX11 -lm
- INCS = x3d.h
- CC = gcc
-
- #CFLAGS = -DUSE_INTS
- # CC = cc
-
- x3d: x3d.c $(INCS)
- $(CC) $(CFLAGS) $(DEFS) -o x3d x3d.c $(LIBS)
-
- clean:
- rm x3d
-